<% extends ./base.html %>

<% subskin content %>
	<% if <% post %> render editHeader %>	
	<form name="blogpost" action="<% href %>" method="POST">
		<h3>Title</h3>
		<input type="text" name="title" size="30" value="<% post.title %>">
		<h3>Lead</h3>
		<textarea name="lead" cols="50" rows="5"><% post.lead %></textarea>
		<h3>Text</h3>
		<textarea name="text" cols="50" rows="20"><% post.text %></textarea>
		<br />
		<input type="submit" name="Save" value="save" />
	</form>
	<br />
	<a href="/admin/">top</a>

<% subskin editHeader %>
	<h1>Edit Post '<% post.title %>'</h1>